﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class admin_Index : System.Web.UI.Page
{
    public string Themes { get; set; }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.Cookies["themes"] == null)
            {
                Response.Cookies.Add(new HttpCookie("themes", "metro"));
            }

            string Theme = Request.Cookies["themes"].Value;

            Themes = "../public/easyui/themes/" + Theme + "/easyui.css";
        }
    }
}